package com.topone.dto;

import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * Created by Administrator on 2017/12/4,0004.
 */
@Data
public class TcUserCouponDTO {

    private String Id;              //id
    private String bussinessId;    //商家编号
    private String couponId;       //优惠券id
    private String buyerOpenid;         //用户openid
    private String couponCode;     //优惠券code
    private String couponName;     //优惠券名称
    private Integer couponType;     //优惠券类型
    private Integer couponNum;     //优惠券数量
    private String couponIcon;    //优惠券图标
    private String status;         //优惠券状态(A:正常，D：失效)
    private Integer useStatus;      //使用状态(0:收藏，1：未支付，2：支付未使用，3：已使用，4：异常)
    private Date  duration;        //有效期
    private Date durationStartTime; //每天使用券开始时间时间
    private Date durationEndTime;  //每天使用券结束时间
    private BigDecimal lowestConsume;    //最低消费
    private BigDecimal discountPrice;  //优惠券面额
    private BigDecimal couponValue;    //保留字段
    private Integer couponNumLimit;  //领券限额
    private Date createTime;       //创建时间
    private Date updateTime;       //更新时间

    private List<BussinessDTO> bussinessDTOList;
    private TcUserDTO tcUserDTO;
    private TcCouponDTO tcCouponDTO;

    public TcCouponDTO getTcCouponDTO() {
        return tcCouponDTO;
    }

    public void setTcCouponDTO(TcCouponDTO tcCouponDTO) {
        this.tcCouponDTO = tcCouponDTO;
    }

    public String getId() {
        return Id;
    }

    public void setId(String id) {
        Id = id;
    }

    public String getBussinessId() {
        return bussinessId;
    }

    public void setBussinessId(String bussinessId) {
        this.bussinessId = bussinessId;
    }

    public String getCouponId() {
        return couponId;
    }

    public void setCouponId(String couponId) {
        this.couponId = couponId;
    }

    public String getBuyerOpenid() {
        return buyerOpenid;
    }

    public void setBuyerOpenid(String buyerOpenid) {
        this.buyerOpenid = buyerOpenid;
    }

    public String getCouponCode() {
        return couponCode;
    }

    public void setCouponCode(String couponCode) {
        this.couponCode = couponCode;
    }

    public String getCouponName() {
        return couponName;
    }

    public void setCouponName(String couponName) {
        this.couponName = couponName;
    }

    public Integer getCouponType() {
        return couponType;
    }

    public void setCouponType(Integer couponType) {
        this.couponType = couponType;
    }

    public Integer getCouponNum() {
        return couponNum;
    }

    public void setCouponNum(Integer couponNum) {
        this.couponNum = couponNum;
    }

    public String getCouponIcon() {
        return couponIcon;
    }

    public void setCouponIcon(String couponIcon) {
        this.couponIcon = couponIcon;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Integer getUseStatus() {
        return useStatus;
    }

    public void setUseStatus(Integer useStatus) {
        this.useStatus = useStatus;
    }

    public Date getDuration() {
        return duration;
    }

    public void setDuration(Date duration) {
        this.duration = duration;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Date getDurationStartTime() {
        return durationStartTime;
    }

    public void setDurationStartTime(Date durationStartTime) {
        this.durationStartTime = durationStartTime;
    }

    public Date getDurationEndTime() {
        return durationEndTime;
    }

    public void setDurationEndTime(Date durationEndTime) {
        this.durationEndTime = durationEndTime;
    }

    public BigDecimal getLowestConsume() {
        return lowestConsume;
    }

    public void setLowestConsume(BigDecimal lowestConsume) {
        this.lowestConsume = lowestConsume;
    }

    public BigDecimal getDiscountPrice() {
        return discountPrice;
    }

    public void setDiscountPrice(BigDecimal discountPrice) {
        this.discountPrice = discountPrice;
    }

    public BigDecimal getCouponValue() {
        return couponValue;
    }

    public void setCouponValue(BigDecimal couponValue) {
        this.couponValue = couponValue;
    }

    public Integer getCouponNumLimit() {
        return couponNumLimit;
    }

    public void setCouponNumLimit(Integer couponNumLimit) {
        this.couponNumLimit = couponNumLimit;
    }
}
